package ace.module.mail.address.api.model.input.mailaddress;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * .
 *
 * @author Caspar
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "邮寄地址过滤条件")
public class MadMailAddressFilterInput {

  @NotNull
  @Schema(title = "邮寄地址应用id")
  private Long madAppId;

  @Schema(title = "账户id")
  private List<Long> accountIds;


  /**
   * {@link ace.module.mail.address.api.enums.MadMailAddressTypeEnum}.
   */
  @Schema(title = "邮寄地址类型", description = "1-接收地址 2-邮寄地址")
  private Integer type;

  @Schema(title = "联系电话")
  private String contactPhone;

  @Schema(title = "联系人")
  private String contacts;
}
